package com.youlai.system.converter;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.system.model.entity.SysFrequency;
import com.youlai.system.model.form.FrequencyForm;
import com.youlai.system.model.vo.FrequencyPageVO;
import org.mapstruct.Mapper;


/**
 * 评估频次对象转换器
 */
@Mapper(componentModel = "spring")
public interface FrequencyConverter {
    Page<FrequencyPageVO> entity2Page(Page<SysFrequency> page);

    SysFrequency form2Entity(FrequencyForm frequencyForm);

    FrequencyForm entity2Form(SysFrequency entity);
}
